package com.spring.web.controller;

import com.spring.web.result.AjaxResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/user")
public class UserController {

    @GetMapping("/getUser")
    public AjaxResult getUser() {
        System.out.println("请求到我这里了~");
        return new AjaxResult();
    }
}
